]> dgit.raspbian.org Git - gnome-shell.git/commit
switcherPopup: Use MonitorConstraint instead of vfunc overrides
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 23 Aug 2018 16:35:43 +0000 (13:35 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 9 Oct 2018 01:42:23 +0000 (22:42 -0300)
commit0ec36fc5cfd37e573e848f0eb75390c75fafbe4a
tree302e2d2cfa36d53807e17067fb657bd429324d2c
parenta315e75e95feb1b9faac7286803abc675feb73ca
switcherPopup: Use MonitorConstraint instead of vfunc overrides

Instead of overriding vfunc_get_preferred_width|height(), use the
already available Layout.MonitorConstraint to bind SwitcherPopup
to the primary monitor.
js/ui/switcherPopup.js